/**
 *
 */
//新增路线
function addRoute(){
	window.location.href = getContextPath()+"/admin/route/addRoute.jsp";
}
//删除路线
function deleteRoute(){
	var rid = getSigleCheckValue();
	if(typeof(rid) != 'undefined' && rid != ""){
		if(window.confirm("确定要删除吗?")){
			window.location.href = getContextPath()+"/deleteRoute.action?route.routeId="+rid;
		}
	}else{
		alert("请选择路线");
	}
}
//更新路线
function updateRoute(){
	var rid = getSigleCheckValue();
	if(typeof(rid) != 'undefined' && rid != ""){
		window.location.href = getContextPath()+"/updateRouteForward.action?route.routeId="+rid;
	}else{
		alert("请选择路线");
	}
}